package masterjava.common.util;

import java.util.Map;

/**
 * User: gkislin
 * Date: 7/26/11
 */
public class SystemUtil {

    public static String resolveSystemReplacement(String str) {
        str = StringUtil.resolveReplacement(str, System.getenv());
        Map systemProps = System.getProperties();
        return StringUtil.resolveReplacement(str, systemProps);
    }
}
